<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>个人信息</title>
    <link rel="stylesheet" th:href="@{/styles.css}" />
</head>

<body>
   
    <div class="title">
        <h1>个人信息</h1>
    </div>
    
    
    <div class="info">
        <div class="info-demo">
            <span>姓名:</span>
            <span th:text="${stu.name}"></span>
        </div>
        <div class="info-demo">
            <span>学号：</span>
            <span th:text="${stu.id}"></span>
        </div>
        <div class="info-demo">
            <span>年级：</span>
            <span th:text="${stu.grade}"></span>
        </div>
        <div class="info-demo">
            <span>专业：</span>
            <span th:text="${stu.major}"></span>
        </div>
        <div class="info-demo">
            <span>专业：</span>
            <span th:text="${stu.department}"></span>
        </div>

    </div>

    <div class="button">
    	<a href="/home/course"><button>选课页面</button></a>
    </div>
</body>

</html>